package ${basepackage};

import ${table.extendsPo};
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author DaoGenerator
 * @date 2999/01/01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ${table.className}Do extends BaseDo {

	private static final long serialVersionUID = 1L;

    /**${table.tableAlias}*/
	public static final String TABLE_ALIAS = "${table.tableAlias}";
	<#list table.columns as column>
	/**${column.columnRemarks}*/
	public static final String ALIAS_${column.columnName} = "${column.propertyName}";
	</#list>

	<@generateFields/>
}
<#macro generateFields>
	// COLUMNS START
	<#list table.columns as column>
	
    /**
	 * comment:${column.columnRemarks}
     * java_property:${column.propertyName}       
     * db_column: ${column.columnName} 
     */ 	
	private ${column.javaType} ${column.propertyName};
	</#list>
	
	// COLUMNS END
</#macro>

